<template>
  <div class="scrollbar-flex-content">
    <div v-for="item in data" class="container">
      <pre>{{ item }}</pre>
    </div>
  </div>
</template>

<script setup>
const props = defineProps({
  data: {
    type: Array,
    required: true,
  },
});
</script>

<style scoped>
@import "./subviewStyles.css";

.container {
  padding: 24px;
  margin-right: 24px;
  color: var(--el-text-color-secondary);
  background-color: var(--el-color-info-light-9);
  /* border: 1px solid var(--el-color-info-light-7); */
  border-radius: 6px;
  max-width: 33%;
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.container:hover {
  color: var(--el-text-color-primary);
  background-color: var(--el-color-info-light-8);
  /* border: 1px solid var(--el-color-info-light-5); */
}
</style>
